﻿#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QMainWindow>
#include "ControlCAN.h"
#include <QDebug>
#include "canparamsetting.h"
#include "protocolthrend.h"
#include "canthread.h"

namespace Ui {
class MainWindow;
}

class MainWindow : public QMainWindow
{
    Q_OBJECT

public:
    explicit MainWindow(QWidget *parent = 0);
    ~MainWindow();

private slots:
    void on_pushButton_clicked();

    void on_pushButton_2_clicked();

    void on_pushButton_3_clicked();

    void displayText(VCI_CAN_OBJ *vci,DWORD dwRel);

private:
    Ui::MainWindow *ui;
    CANParamSetting *CANsetting;
    CANThread *canthread;
    ProtocolThrend *protocolHand;
    QThread thread;
};

#endif // MAINWINDOW_H
